<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
.table td {font-size:14px;}
</style>
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">			
			<li class="active"><a href="#" target="_self">巡检详细信息</a></li>
		</ul>
		
		<table class="table table-bordered table-hover" style="width:75%;">
		<caption><h3>巡检详细信息</h3></caption>		
		<tbody>
			<tr>
				<td>设备名称</td>
				<td>{$macinfo.sbmc}</td>
				<td>设备编号</td>
				<td>{$macinfo.sbsn}</td>
				
			</tr>
			<tr>
				<td>坐落位置</td>
				<td>{$macinfo.cfdd}</td>
				<td>巡检情况</td>
				<td>{$macinfo.content}</td>
				
			</tr>
			<tr>				
				<td>巡检人</td>
				<td>{$macinfo.xjr}</td>
				<td>主管审核</td>
				<td>{$macinfo.zgsh}</td>				
			</tr>
			<tr>
				<td>巡检日期</td>
				<td>{$macinfo.gzrq}</td>
				<td>巡检图片</td>
				<td>
					<php>$smeta=json_decode($macinfo['smeta'],true);</php>
						<foreach name="smeta['photo']" item="voo" key="key">											    								
						<if condition="!empty($voo['url'])">
							<a href="__UPLOAD__{$voo['url']}" target='_blank'>图片[{$key+1}]</a>&nbsp&nbsp
						</if>
						</foreach>		
				</td>
				
			</tr>			
		</tbody>
		</table>	
			
				<div class="form-actions" style="padding-left:50px;">						
					<a class="btn" href="{:U('Maclist/index')}">{:L('BACK')}</a>
				</div>
				
				
	</div>	
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	
</body>
</html>